package com.ruoyi.core.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 公众号带参二维码视图对象 f_wx_qr_code
 *
 * @author ztx
 * @date 2023-03-18
 */
@Data
@ExcelIgnoreUnannotated
public class WxQrCodeVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * appid
     */
    @ExcelProperty(value = "appid")
    private String appid;

    /**
     * 是否为临时二维码
     */
    @ExcelProperty(value = "是否为临时二维码", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "usr_logic")
    private String isTemp;

    /**
     * 场景值ID
     */
    @ExcelProperty(value = "场景值ID")
    private String sceneStr;

    /**
     * 二维码ticket
     */
    @ExcelProperty(value = "二维码ticket")
    private String ticket;

    /**
     * 二维码图片解析后的地址
     */
    @ExcelProperty(value = "二维码图片解析后的地址")
    private String url;

    /**
     * 该二维码失效时间
     */
    @ExcelProperty(value = "该二维码失效时间")
    private Date expireTime;

    /**
     * 用户openid
     */
    @ExcelProperty(value = "用户openid")
    private String openid;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 媒体id
     */
    @ExcelProperty(value = "媒体id")
    private String mediaId;

    /**
     * 分享次数
     */
    @ExcelProperty(value = "分享次数")
    private String shareCount;

    /**
     * 媒体url
     */
    @ExcelProperty(value = "媒体url")
    private String mediaUrl;


}
